package com.tempjob.app.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author hui
 * @Date 2024/12/9 20:47
 **/
@Data
@ApiModel
public class UserCourseWatchLogDTO {

    @ApiModelProperty("课程id")
    private String courseId;

    @ApiModelProperty("视频id")
    private String videoId;

    @ApiModelProperty("观察时长")
    private Integer watchSeconds;

    @ApiModelProperty("观看时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date watchTime;

}
